<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改用户信息</title>
</head>
<body>
<div>
    <form action="/user/edit" method="get">
        <input type="hidden" name="id" value="${user.id}">
        <table>
            <tr>
                <td>用户名</td>
                <td><input type="text" name="username" value="${user.username}"></td>
            </tr>
            <tr>
                <td>邮箱</td>
                <td><input type="text" name="email" value="${user.email}"></td>
            </tr>
            <tr>
                <td>联系方式</td>
                <td><input type="text" name="phone" value="${user.phone}"></td>
            </tr>
            <tr>
                <td>性别</td>
                <td><input type="text" name="gender" value="${user.gender}"></td>
            </tr>
            <tr>
                <td>地址</td>
                <td><input type="text" name="address" value="${user.address}"></td>
            </tr>
            <tr>
                <td><input type="submit" value="更新"></td>
            </tr>
        </table>
    </form>
</div>
<div>
    <a href="/userInfo.jsp">返回个人中心</a>
</div>
</body>
</html>
